<template>
  <div class="container" style="width: 400px;height: 300px;">
<!--    我是表情包弹框，哈哈哈，待完善<br/>😍😎🤣😂🤦‍♀️🤦‍♂️🤷‍♀️✌️🤞😁👌👍💕😍😎🤣😂🤦‍♀️🤦‍♂️🤷‍♀️✌️🤞😁👌👍💕-->
    <n-input placeholder="请输入内容" v-model:value="emojiValue" />
    <n-button @click="handleSendEmoji">发送给聊天弹框</n-button>
  </div>
</template>

<script setup>
import { ref } from "vue";
const emits = defineEmits(['send-emoji']);

const emojiValue = ref('😍😎🤣😂🤦');

// 发送消息
const handleSendEmoji = async () => {
  emits('send-emoji', emojiValue.value)
}
</script>

<style lang="scss" scoped>
.container {
  width: 100%;
  height: 100vh;
  padding: 20px;
}
</style>
